how to get selected value from radio button in c